<tagLib name="html" />

<include file="Public:header" />

<div class="container" id="cpcontainer">
    <div class="itemtitle">
        <h3>{$Think.lang.manage_users}</h3>
        <ul class="tab1">
            <li><a href="__URL__/userList"><span>{$Think.lang.manage_users}</span></a></li>
            <li class="current"><a href="__URL__/addUser"><span>{$Think.lang.add_user}</span></a></li>
            <li><a href="__URL__/approveUser"><span>{$Think.lang.approve_user}</span></a></li>
            <li><a href="__URL__/searchUser"><span>{$Think.lang.search_user}</span></a></li>
        </ul>
    </div>
    <form name="cpform" method="post" action="__URL__/addUser">
    <input type="hidden" name="op" value="save" />
    <table class="tb tb2">
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.username}:</td></tr>
        <tr>
            <td class="vtop rowform"><input name="username" value="" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$think.lang.user_pwd}:</td></tr>
        <tr>
            <td class="vtop rowform"><input name="password" value="" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.email}:</td></tr>
        <tr>
            <td class="vtop rowform"><input name="email" value="" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.admin_group}:</td></tr>
        <tr>
            <td class="vtop rowform">
                <select name="admin_group">
                    <option value="0">{$Think.lang.none}</option>
                    <volist name="adminGroups" id="vo">
                    <option value="{$vo.group_id}">{$vo.name}</option>
                    </volist>
                </select>
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="15"><div class="fixsel"><input class="btn" type="submit" value="{$Think.lang.submit}" /></div></td></tr>
    </table>
    </form>
</div>

<include file="Public:footer" />
